<?php

namespace addons\yiliao\model\common;

use think\Config;
use think\Db;
use think\Model;

class Base extends Model
{
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'integer';
    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected static $instance=null;

    //初始化
    public static function instance()
    {
        self::$instance = new static();
        return self::$instance;
    }
}
